<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
		<div id="postMetaBar">
			<ul>
				<li>
					<h2>Publish</h2>
					<p>
						AAA<br />
						BBB
					</p>
				</li>
				<li>
					<h2>Tags</h2>
					<p><s:textfield name="tags" size="50"/></p>
				</li>
				<li>
					<h2>Category</h2>
					<ul id="ulCategory">
						<s:iterator value="categorys">
							<s:if test="name == category">
								<li><input type="radio" id="<s:property value="name" />" name="categorys" value="<s:property value="name"/>" checked/><label for="<s:property value="name" />"><s:property value="name" /></label></li>
							</s:if>
							<s:else>
								<li><input type="radio" id="<s:property value="name" />" name="categorys" value="<s:property value="name"/>"/><label for="<s:property value="name" />"><s:property value="name" /></label></li>
							</s:else>
						</s:iterator>
					</ul>
					<br />
					<div id="divNewCategory">
						<input type="button" id="btnNewCategory" value="New Category" onclick="javascript:$('#divNewCategory').hide();$('#divEditCategory').show();"></input>
						<input type="button" id="btnDelCategory" value="Del Category"></input>
					</div>
					<div id="divEditCategory" style="display: none;">
						<s:textfield name="txtCategory" size="30"/>
						<input type="button" id="btnEditCategoryOk" value="OK"></input>
						<input type="button" id="btnEditCategoryCancel" value="Cancel" onclick="javascript:$('#divEditCategory').hide();$('#divNewCategory').show();"></input>
					</div>
				</li>
			</ul>
		</div>